package com.xyoto.community.service;

import com.xyoto.community.dto.SaveQuestionCommentReplyLoveDTO;
import com.xyoto.community.utils.Result;

/**
 * ClassName:   问答评论回复点赞service接口
 * Author:      挽风
 * Date:        2020
 * Copyright:   2020 by 挽风1.0版本
 * Description:
 **/
public interface QuestionCommentReplyLoveService {

    /**
     * 根据问答评论回复id查询问答评论回复点赞数
     *
     * @param id 问答评论回复id
     *
     * @return 点赞数
     */
    Integer getQuestionCommentReplyLoveCount(Integer id);

    /**
     * 新增评论回复点赞
     * @param replyLoveDTO
     * @return
     */
    Result saveQuestionCommentReplyLove(SaveQuestionCommentReplyLoveDTO replyLoveDTO);

    /**
     * 取消问答评论回复点赞
     * @param questionCommentReplyId 问答评论回复id
     * @return
     */
    Result removeQuestionCommentReplyLove(Integer questionCommentReplyId);

}
